﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace COFE.Core.Utils
{
    public class PrioritySortableComparer : IComparer<IPrioritySortable>
    {
        public int Compare(IPrioritySortable x, IPrioritySortable y)
        {
            return x.Priority.CompareTo(y.Priority);
        }
    }
}
